/*
 * utill.h
 *
 *  Created on: 21-oct-2008
 *      Author: hector
 */

#ifndef UTILL_H_
#define UTILL_H_

#include <string.h>
#include <stdlib.h>
#include <stdio.h>




/*
 * Return the directory previous to the given one. For example, if path is "musica/mp3", the previous directory will be musica.
 */
void getPreviousDirectory(const char * path, char *dest);

/*
 * Return the file or directory name for this given path. For example, if path is "musica/AC-DC", the description will be AC-DC.
 */
void getDescriptionFromPath(const char * path, char *dest);

#endif /* UTILL_H_ */
